package com.wuzhun.wxmp.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author baolin
 * @date 2022/12/03 14:24 下午
 */
@Controller
@RequestMapping("/error")
@Api("Api文档")
public class ErrorController {


    @GetMapping("/index")
    @ApiOperation("错误提示")
    public String index() {
        return "error/index";
    }

    @GetMapping("/not-found")
    @ApiOperation("未找到提示")
    public String notFound() {
        return "error/not-found";
    }
}
